fix _$getAreaBox for rich editor