Fix rotation of WebGL tile layers