Bugfix for opacity

globalAlpha was not set correctly
Merge pull request #128 from andersevenrud/master

Bugfix for opacity