Fix origin transform rotation issue