Rewrite ImageGrid so it also supports PixelLayers for non-grid-based data.
Adjust MapGrid to the new ImageGrid
Fix all the transition errors
Insert the layers in the correct order on loading