That wasn't an offside. The goalkeeper contact with the ball makes it a new play (after Lukaku's offside) so Lukaku's offside is annulled. It's just that this league hates Inter and it's for the best Inter to move to Switzerland.
Maldini will definitely score