gm: some fixes

* set Graphic dirty properly
* transforms work properly