Fixed pixmap not being prepared/disposed correctly