Exception handling in mouse tracking code