Is this a bug?

So when I was using the tilemaps extension, for some reason when I switch to JavaScript and return, it turns the tilemap blocks into gray blocks. Also, when I switch back to blocks from JavaScript, sometimes it either collapses all blocks, or opens up the ones I had collapsed.