Hey!
If you open the inspector for the material bu clicking on it in the project window, there are some additional settings that should effect masks. I was able to get STM to behave appropriately inside of a scroll view by changing the "mask comparison" value to "3" from the initial "8", and setting the "mask mode" to "Inside". I hope this works for you!