For some reason at a certain height some of my tiles are getting cut off and then a line is added to the bottom
This may happen if your sprites are not drawn at integer coordinates.
Did something change to subrect ?
Rectangles are defined as (left, top, width, height) instead of (left, top, right, bottom).