Bug fix where train's x or y coord isn't always updated