Fix #194: tap to toggle pencil status and tap out of bounds to clear cursor.