DisplayObjectContainer.setChildIndex function optimized if the given
index is same.