fix auto centering for FF