Fix for right click issues on Firefox

as reported here: https://groups.google.com/forum/#!msg/angular/LAk9oZqRx24/sWKr5jFJQ1AJ