Floating windows rounded corners is not consistent

My Hyprland version is 0.53.1. In my hyprland.conf this window rule

windowrulev2 = rounding 10, floating:1

will round the corners of floating windows that are persistent across workspaces. However it won’t round the corners of floating windows that stick to a single workspace. Is this expected behavior? If so how do I round the corners of windows that stick to a single workspace?

Windows rules syntax have changed (see this thread). A configuration file converter exists here. Here’s the new syntax which fixes this issue:

windowrule {
  name = windowrule-99
  rounding = 10
  match:float = 1
}