Reorganized the setScale and setLocalScale in Transform a bit. Still trying to find the bug in locally scaling.