Removed problematic check in isEmulatedMouseEvents