Fix extent setting bug.