Fix for windows menu bug

Fix for windows menu bug