That is a weird bug I found in Godot and it's one I'm currently trying to fix with my engine I'm building within Godot