Fixed broken centerItemWhenSelected functionality
Fixed rounding error