fixed problem with debugdraw not calling shape functions