Turn off edit beams when object is derezed while being edited. (mantis #6722)