Determines if an item is hovered by the cursor at the x/y position.
the cursor x position
if a dock item is hovered