Fix textures being rotated