DeProject for widget

How to deproject mouse position from Widget like Minimap to realworld? Like this: http://www.youtube.com/watch?v=NaTUbmFIc6E

Thank you.