Added code to fix transformations not moving properly. Still needs work.