Fix overflowing content, Redmine #2779.