fix layers select, opacity and sort