fix center elements with correct grid position