Fix variable name

Wrong variable name was used for transparency manipulations.
Merge pull request #604 from nijel/patch-1

Fix variable name