Fix broken model opening.