Can't grab window focus when borderless

Godot Version

4.2.2

Question

Why does this code snippet work when borderless is unchecked and doesn’t when it’s checked? When the game starts the player can’t move, the user must manually click with a mouse once to grab focus - I don’t want that, I want you to be able to move instantly.

Code snippet in question

func _ready():
	get_window().grab_focus()