opacity fix
scripted update of code from master at 46e9df8 opacity fix