Ported fixes from textual-whisper regarding style not being applied in certain conditions.