Bugfix for opacity

globalAlpha was not set correctly