[FIX] Crash while rendering element's label

See #1210