Rectangle rotation fix uncommited part