Renamed centerX and centerY to avoid collisions with Masonry.