Fixes the extent centering problems.