Resize menu fix

Fixes the fact that if you hide the menu on a small window and then make it larger, it is no longer accessible.