Allow to override tranformationMatrix

This allows external libraries to override the tranformationMatrix
getter as we did in TextField in a previous change list. There should be
no performance penality.