Fixed chapter title wrapping issue for long chapter names