Fixed animation of menu.