Taking into account null rects and library width/height subtraction on sprite parsing.