Headphones not detected if plugged in at boot
MACBOOK PRO (RETINA, 15-INCH, MID 2015)
Windows 10 Home
If my headphones are already plugged in when I boot into Windows 10, they are not detected as plugged in and therefore the audio comes out of my Apple Studio Display speakers (not working correctly - the headphones should be detected as plugged in). If I remove the headphone plug and plug it in again, the headphones are correctly detected as plugged in and the audio goes through them instead of the Studio Display.
How can I fix this issue so that headphones already plugged in at boot are correctly detected?
MacBook Pro with Retina display, Windows 10