fix cursor hovering