Move collision flag detection to FixedUpdate