There can be multiple reasons for this. There may be too much egg mixture to soak into the bread. It may not have baked long enough. And if you want to prevent soggy French toast casserole altogether, I'd suggest leaving your bread open the night before, so it can dry out just a bit; stale bread soaks up the egg mixture more easily and readily.