This is an issue with the SDL backend.
Before Raylib is inititalized, GetWorkingDirectory() returns the correct working directory. After initialization, it instead returns the same as GetApplicationDirectory(). This also causes resources not to load if your application is running from somewhere other than the current directory.