fixed display bug

fixed bug where scaling window can cause menu to stay hidden