@JBaldwin Thanks again for your help :). So I made sure to floor and clamp the masks and also set the filter in the texture editor to nearest instead of Default (from TextureGroup) and that fixed it for me 
@JBaldwin Thanks again for your help :). So I made sure to floor and clamp the masks and also set the filter in the texture editor to nearest instead of Default (from TextureGroup) and that fixed it for me 