Fixed a bug that duplicated event firing on captured shape.