Try to restore last window position and size automatically