Pixel tiling and layout now properly dynamic