Fix a debug drawing issue