Fixed an issue when trying to restart the client on the error screen