fix layers, sprites and clickable regions