Thank you for your comment, I'm very sorry to hear that. It would be of great help if you let me know what OS/compatibility layer/input setup you're using.
For some reason, I was sure Windows would send WM_PAINT messages at monitor refresh rate, but apparently, that's not the case. I'll try rewriting the rendering loop and testing on more diverse machines.