masks path : fix path shrink #9468