Fix issues with incorrect font and style on first block in
document.