What You are using now is trying to match color ID on Your map.
It tries its best to find colors on the surface, You are using only one color- RED. It will always find that red color is closest to anything else on the map.
What You probably want is masking. So You need to prepare map as a grayscale mask and use as distribution map.
Hope this helps.