Fixes: #2774 Fixed wrong menu display on minimized windows