Removed painter from PaintNode.