fix canTransform cache, copying this commit: https://github.com/rap1ds/Snap.js/commit/17790dcdba8187b2c3b27e222e086dcf537b589f