Fixed layers bug