Fix going fullscreen disrespecting dpi; support framebuffer size callback.