Fix issue causing emu to freeze because drawing_fram was being set after repaintGLWidget was emitted.