Sixers win their third straight but not without a loss