Added mouse hover detection