You're going to need to rotate your textures, too. Texture locking is for offsetting only. It doesn't account for rotation.