Fixing offset bug in hover menus