Mask fixes

* Masks are created using the value of how deep is element in the element tree instead of a one-to-one element-mask relation
* To one-size mask canvases and back
* Change snapshot path in `go` page