I tested again, It doesn’t work.
I saw your videos and found that the max-width should be changed actual width value to even(so the actual width is not odd). This is why you can get the expected result.
Please remove the max-width or change the value to odd.