Fixes webkit errors caused by removeAllLayers.