Fix wrong clip being used for alpha in sone RGB layer routines
Merge pull request #42 from tp7/layer-alpha-fix

Fix wrong clip being used for alpha in some RGB layer routines