That isn't a fix, it is purposeful in that. Normally USB ports don't "charge" devices, except when 'on' because they have power to the USB ports the devices 'vampire' off of. What you could do is get a self powered USB hub, connect that to the port then connect your mouse to it. Since it is self powered the computer can be powered off but the hub is still powered by the wall outlet.