Window decoration messes up vertical axis


I’m experiencing a weird problem with openFrameworks on Windows 10 with Visual Studios 2017. When I create a window of a certain size, and try to draw to it, there is a weird offset from the top which gets smaller and smaller as you move to the bottom, and which does not affect the horizontal axis. If I remove window decoration or if I put the app into fullscreen then the problem disappears. What is going on here? My monitor is high DPI, is that somehow related?

Thanks in advance,


Update: it turns out to be a problem with my graphics driver, I reverted to a previous version and the issue disappeared.