Fix rotation setter.
Fix and optimize transform helpers.