I had a similar problem when I first started flying but a full system
calibration seemed to have done the trick for me no more losing height
sorry I can't help other than that..... you could try it a few times as I have found the changes that I make don't always take first time around.