Slight modification to try fixing 45 degree turns