Corners and rotation fix.