Fixed map layers registration.