Get rid of 'lens' dependency.
When window size changes, change the OpenGL viewport size.