fix character sorting layer on death