Fixed directions in object following functions.