Prevent mouse drag events during mouse capture on Mac.