Fixed some bugs with mask layer.
Merge branch 'master' of https://github.com/stdao51/Lobe