Fixed transform. Fixed drawing of offseted shapes.