adjusting projection matrix; allow debugdraw to accept viewport params