Fix issue with underlines not displaying

Fixed an issue with underlines not displaying for text blocks even when
an underline parameter is passed into the constructor.