The `LayerMask` structs were allocated with just using `new`. They should use the guarded allocator. This fixes a memory leak reported by ASAN.
The `LayerMask` structs were allocated with just using `new`. They should use the guarded allocator. This fixes a memory leak reported by ASAN.