Fixing menuOn glitch bug