Use the layer's corner radius rather than a custom mask.
Use the layer's corner radius rather than a custom mask.

This will ensure the mask bounds always match the view's size.

vector-im/vector-ios,vector-im/vector-ios,vector-im/vector-ios