Adjusts position for better centering.