Fixed memory leak when updating pixmap - introduced QGraphicsItem pointer.