Don't set large wrapper properties unless mode is 'outside'

This is a quick fix that stops this error when using inside mode.

```
Uncaught TypeError: Cannot read property 'id' of null 
```

Addresses #5