added gadget flag to create pixel precise mouse movement events