fix QGraphicsItem.scale use in PyQt5