Ionic background image and nav-bar issue

I have put hide-nav-bar=“true” in one of my ion-view. It is working fine But if add a background image to my app then it shows exception.
Suppose I have a state app.A on which I have put hide-nav-bar=“true”.
Error is when I press back button then it show my nav-bar before routing to next state.
Can anyone tell me why is this happening?