fixed h2d.mask for this branch
added offsetX/Y for mask to be really useful...