fix relX/relY to match the scene scaling