client/screenshooter: Compute the width/height for a single output