Patch for OL2

Patch fixing issue where layer switcher turns white after some
checking/unchecking of boxes