Fixed wrong value read for isSensor in addShapesWithFile: