Fixed a bug with mathview where click events were being lost after a close.
Merge pull request #195 from goehle/mathveiwbugfix

Fixed a bug with mathview