Compat fix for layer.borderRadius