fix layers drawing order