Fixed indentation error in getLayerPoints and added calls to utility.forceBool()