fixed bug related to disabling physics debug draw