Fixes #827 issue with overview/definition mode leaving code examples visible