bugfix jessiecode module
allow glider.positions equal to 0