Fix various rendering issues.