Set the starting point of the track inside the first gas layer (thanks to Sibo Wang for reporting the issue).