Move opengl check after widget debugpaint vars
Handle window size changes in scrollbox example