Rename lastDraw to lastStroke and remember last stroke drawn, thanks @elemoine