Bug fixed for menu interaction