Replacing an asset removes it from its location

replaceBug.mp4

As seen on the video, when I replace an asset, it pulls it out of its location in the asset library and moves it into the root, so I have to move it back each time.