Fixed bug with re-initing of loaded trajectory