Fixed memoryleaks in debug drawing