Fixed problem with the hover mechanism