Use the task location if the particle location is not set