Prevent TOC overflow to content