Quad does not face foward on mission

HI recently had some trouble with quad flying away without control, thanks to some help from this forum, problem was with GPS unit, replaced unit and quad is now rock solid.
Only issue is when flying a mission with a camera, from the last waypoint to home RTL the quad doesn’t face forward, flies the last leg sideways, any idea’s would be appreciated.