Greatly improved debug drawing performance.