Update MainWindow.cpp

Fixed Coke Issue - [Coke] EB (IE) running in non full screen mode does not get restored once it loses focus