Boolean not updating quick enough

What if you cast to ThirdPersonCharacter is failing?