Fix preview in add view. Ref #531