fix some mouse-offsetting issues