Fixed a drawing glitch where it would exit drawing after the first object.