The cinematography of this scene was awkward an uninteresting; merely showing Leia slowly drifting back into the ship.
Leia being able to magically move back to the spacecraft had a deus-ex-machina touch to it.