Why copter is loosing attitude in back word flight?

Hai,
When I am making mission with terrain and bendy ruler, forward direction flight is going well. But in back word flight is loosing altitude, when obstacle is detected. My range finder is in function. Please tell me some suggestions!

Thanks and regards
Mohan