See the post linked below for an explanation of why there’s different behaviour depending on your setup, as well as some tricks that can help avoid the problem (the problem in the opening post is nearly identical to yours):