Fixes overflow when title is too long.