Re-implement corner rotate feature (cornerRotate)
Merge branch 'cornerRotate' into custom