Fixed bug with text color being set to white