uses window size, rather than framebuffer size

https://github.com/memononen/nanovg/issues/12