Fix menu collapse glitch