As per title. Only happens if the application was maximized before minimizing. See the video at https://github.com/pyscripter/pyscripter/issues/1172 to get the idea.