win.rs: Added hack for accessing Win from callbacks