fix center image issue