handle weakproxy objects in MotionEvent.grab()

Fixes #2291