PaintPane class used as a paint paper