fix mouse position in particle example