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

Closes https://github.com/PistonDevelopers/event/issues/240