Fixed something wung when rotating a rectangle