Small improvements

By avoiding null transforms we can significantly reduce the amount of canvas calls.
In my project it slashed the number in some scenes by factor ten. Null transforms and needless fill calls are expensive, even though they don't do anything.

Also some improvements to getBoundingRect and the canvas drawing loop as well as a new smoothing param.