Clears the last stored pen event. Calling this function may impact event handling for UIToolKit elements.