Only set the window control keybindings if the window control option is actually enabled. Fixes #7212.