Well its in the title... it works with standard masks but not with those. I wonder if there's a way to combine them, like having a RoundedRectMask2D or something similar.