Bug in undo when cancelling Shape tool used with Shift key