fixed bug on Firefox

event variable in mouseMove function was not recognized