Opening folders and tracks simultaneously

Hi all. When I open folders and tracks not in folders into the edit window simultaneously, after the first edit I make all the tracks that reside in folders disappear from the edit window.

The only way I’ve gotten around this is by either having everything in folders or expanding all the folders before editing. Neither is really ideal.