Fix for scale + rotate + shift