When framerate is 0 then you have the same problem. The program hang up!!!! You can see it when moving the windows out of screen and bring it back it is not repainted.
Thanks for testing this.