Fixing hover bug