Fix page & context menus visibility issue