Fixed a few transform bugs.