That was 100% on CoJo, not an offensive scheme failure. CoJo jumped to shoot, Bagley crashed the boards, CoJo thought he was going to get stuffed, panicked, and threw it without looking to where Bagley had been.
That was a result of another about to be shot clock violation....which is on their offense