fixed canvas2d rendering of atlases