Fix check for location when starting entities