Added options null check in Utils.drawText.