Wait with menu bar dimension calculation