trying to fix mouse position miscalculations