Deselecting new shape = undo addition - bug fixed