fixed cursor hitbox bug when entering/leaving hittable objects