Fix incorrect cursor position

When reactivating the cursor its position was updated visually but not
internally which caused glfwGetCursorPos to return wrong values.
Merge pull request #84 from Nibe/cursor-fix

Fixed saved cursor position not being restored.