fixes gui drag in Processing simulator