Reset cursor position before reloading the page

When resetting it just after reload cursor may still trigger some
transitions which will not be finished at the time of first screenshot.