remove unused vars
use inverted matrix for stroke transform (fixes 1 test on osx)