Fixed matrix transformation.

Instead of replacing the existing "transform" value, multiply the new matrix to the existing one and use that result.