shouldStopCasting fixed