fix some hovering and scrolling bugs