Fix bugs in "Unify buffer reads"

Found by massimo:
Wrong stride comparison in fill_abyss_color
Adding height to x instead of y (the value was unused, so no crash)