fix bug in menu when show controls