FIX: Crash on loading in some cases (ultimate cause unknown).