Fix invalid y coordinate values in BlockID getter
Thanks to tokeii for spotting this.