set active region before calculating bounds