closed #4577: fix rotation.