Fix entity transform (equivalent to rotate + scale then translate).