set active region before calculating bounds

Oh, cool!