fix rotated texture