Reuse patchable method isLayerMovable and add checks for cannot read properties of undefined error
Merge pull request #341 from NICTA/groundwater-changes

Reuse patchable method isLayerMovable and add checks for cannot read pro...