Try calling
viewStamp.setNeedsLayout() viewStamp.layoutIfNeeded()
to recalculate the layout after removal.