fixes #50: transparency is now getting the correct value
Merge branch 'bug/50-problems-with-appmodelayer-attributes' into dev