Fixed some visual end editing glitches.