Maximize window after it is shown