Base layers switching bug fixed.