Implemented rotation fix.