Set mouse parameters, only if frame is created.

Thanks Bruno for discussion.
http://www.mail-archive.com/yade-dev@lists.launchpad.net/msg09909.html