Added pause on PenUp functionality