What I suggest is to set the TX pin to the normal idle State at the top of your program and add a pause of few mSec. True mode idle high, while inverted idle low.