Fixed bug with transforms. #1