randr: Properly update things if the number of monitors changes