Alot of time when a UPS switches on there is still a lot of fluctuations delivered in the power being delivered and a PSU without suitable filtering wont keep this from affecting your comp. many bios have settings for what to do in this situation so consult your bios and see if you cant turn the relevant options off. Else there may not be anything you can do.