I should also say that it's not just when minimizing/maximising, but any adjustment to the screen with the pen, like dragging the window for instance, also has the same effect. The software will crash.