Fixed a bug with text not printing.