Fix mouse handling in python demos

The behavior seems to have changed, now mouse move events get set which broke the old code. This fixes it.