Fill masked array before deciding where to make depth transparant
Spell variable name correctly