Remove unused frame centering code