For some reason when I add the pointer e.offsetX and e.offsetY become inaccurate. This causes the pointer to jump around. Why is this and what can I do to fix it?