use camera matrix for debug text rendering
refactor