Fix gl plane feature

Fixed GL plane feature not respecting the GCS along with some other fixes. 
```javascript
[10, 10, 0, 20, 20, 0].length % 2 === 0 // true
```

The condition here will pass, and the `else if` at line 360 will be skipped.