I had a similar problem.
in my case the problem was that I had a function in dispose method of screen B and it wouldn't execute properly. I just removed it and the problem was fixed.
so be sure your dispose method is executed properly in all screens.