Fix a bug in deviation while using plane. [skip ci]