Choppy Minimize or Maximize on External Display
Almost new Macbook Pro 13" with Touchbar. External Thunderbolt display attached via the official Apple TB3 to USB-C TB3 adapter. This problem only occurs on the external display.
When I minimize an application to the Dock, it's a smooth animation. When I maximize it, it's a smooth animation. When I do this several times over the course of a day's worth of work, the maximize process gets stuttery and "stuck". My screen will be frozen with this halfway finished minimize or maximize animation.
It'll freeze with the spinning ball not always exactly halfway through either the maximize or minimize "animation" with WindowServer suddenly going up to very high CPU usage. If I wait 10 seconds or so, the animation will complete and the system will go back to normal, until I minimize or maximize again. Reboot fixes it for a period of time.
Everything was working fine the past couple of weeks. Zapped PRAM and reset SMC. All updates installed. System is not running any extra programs, it's as bare bones as a laptop from the Apple Store. System works great other than this issue. It does not happen when only using the laptop screen.
What is the fix?