Fixed bug with 180 rotation with odd x even rectangles