Transforming tha layer instead of the view to avoid autolayout issues