set active region before calculating bounds

thanks! any concerns on this affecting rendering somehow?