Catch rendering issues.

Catch and warn on rendering issues in top files. Closes #8799.