Fix off-by-one in rotated textures.