Steps: Making a ghost of a compact loader pointing to a chest, put at least one belt before the loader, try to "manually" place the loader. It will flip sides.
If you repeat this with no belt, just the ghost, it will place it properly.
It will also work if the belt is a ghost, it only get "confused" when you have the belt in place before the loader and manually place it over a ghost of a loader.
My guess is that it tries to automatically adjust itself when facing belts as loader, and flip. Maybe preventing it when placing it over ghosts can solve it