I think setY also must be shifted the same way.