Allow autoresizing mask.
Merge pull request #32 from hwaxxer/allow-autoresizing

Allow autoresizing mask.