Fix bug: Form renderer crashing while rendering text