fixed: layer opacity of existing layers was reset to initial value after adding a new layer