Add lazy sampling to make things work more properly with BehaviorLoop.