fixed a memory leak from pens and brushes not getting garbage collected