init mouse picking

Will have to be changed with a simpler system. Like described here
http://stackoverflow.com/a/7373739/1263612