refactored transform controlls and fixed editor controls safari bug