Fix y extent and clipping of rectangles with negative y coord or inverted axes
remove redundant lines of code