Fixed crashes with malformed MCA files.

Some tools write MCA files that are not 4K-aligned, these caused a crash.