fix mask coloring in insect module (use integer(kind=2) everywhere)