Bugfix: the order of transformations was not consistent in plater and actual G-code generation. #1171 #1191