Resolved index out of bounds error in MaskContainer