Clear translations when page loses focus

Fixes a bug where pressing Ctrl+Shift+Tab to switch tabs would cause the
camera to move down continuously