fix ttf shadow crash