Fix draw trajectories