made the qt drawing work again