Add logging to debug fullscreen/viewport size mismatch