Software backend: TEV fixes

Fixes a couple small issues found running gxtest against the software backend.