Try creating a new project and see if this happens. If it does, try reinstalling Godot. If it doesn't, try tracing back your steps on the project you are working on and see if something else is affecting it. Other than that, I recommend to try to re-import the project.