Don't crash when setting text styles
Avoid an uninitialised variable