Passing `&RefCell<W>` instead of `&mut T`

Closes https://github.com/PistonDevelopers/event/issues/240
Merge pull request #242 from bvssvni/master

Passing `&RefCell<W>` instead of `&mut T`