changeToSelectedPen IE8 processing workaround