Fixed some model glitches.