Fix 'undefined method' error encountered with layer masks
Merge pull request #31 from rstacruz/patch-1

Fix 'undefined method' error encountered with layer masks