I honestly think this is all releated to negative expectations and sub optimal lucidity. I would say to first stabilize decently then reinforce the fact that this is YOUR dream and YOU decide whatever happens. Sometimes it happens randomly too, in my last lucid I transformed into an eagle at low lucidity and got stuck into an invisible wall, then I lost lucidity Anayways, I hope this helps.