Brings window to front and makes sure it isn't minimized before moving it