Fix DOM timing issue with subviews in blocks.