Don't save the console position when it is minimized.
Merge pull request #4077 from shenweip/patch-1

Don't save the console position when it is minimized.