Remove redundant check in auto-centering