Revert "Revert "Fixed possible mount abuse after leaving bg""

This reverts commit 7d5077078097812ef20cc1bbeb4f6bfe40f3fb26.