Removed double dispatch of mouse event for html5 target

The html5 branch was repeating the same switch that every target would execute at the end of the method, so touch events would dispatch mouse events twice when building html5 projects.