switched from qglwidget to qopenglwidget -> resize bug