Pointer event fixes.