Removes selected shape when adding a new shape