Fixed reverting screen settings on exit for multi-monitor setups