Fixed stupid bounds issue, was checking too many y values.