Just configure your extended windows energy settings (windows control panel) to the shutdown/standby state you like (setting for "power button"). If you hit the PC Power button on your remote, it will execute it.
Easy fix: Download Microsoft's Tweak UI, install & start it, go to "General/Focus" and uncheck "Prevent applications from stealing focus". Confirm it all by hitting "OK", as usual.