Element.getSize() instead of Element.getComputedSize() in Mask.resize()

This fixes bad Mask resizing in case target element has a `box-sizing` that is not `content-box`. See #1273.

*PS: I don't know why Github is including old commits of mine in this PR, anyway they were already merged before 1.5.0 - and in fact they brings no diffs at all.*