Handle GL viewport changes.