fixed annoying menu button input bug