Fix opacity: opacity is set from the layers config if no other

information is available