Reset fastMouse after changing dimensions

Fixes #1678