Fixes on debugdraw