Fixed possible mount abuse after leaving BG

Fixes #12833