Temp fix for the menu closing when it shouldn't.