Is the mouse/keyboard on a USB Hub? if so try in the port instead.
If its not then I dont know if there is a way around this. When a comp powers down, it turns most everything off and the components onboard the motherboard still function like the keyboard and trackpad, but the USB controller doesnt still recieve power. so if setting the option in the power plan didnt help, then there are few other options. one would be in the BIOS there might be a setting for the component. another would be maybe installing drivers for the wireless keyboard if you havent done so or updating the drivers or BIOS.
Still not sure still if any of that will help.