Rich,
Strange that this would be a cause of the problem. You might run a
sfc /scannow command to see if it can find and fix any bad system files that may be behind the problem to, then test the minimize/maximize again to see if it will work properly again. This tutorial will show you how to if needed.
System Files - SFC Command
Shawn