fixing yoffset for 3d sprites