Fix mouse capture on Mac for while buttons are down. This fixes Pan and ...

...Zoom in the Particles sample for Mac.