Be quiet sir. Detroit dodged two penalties on the 2nd goal, so move on by forgetting that the rule was entirely right.
From the NHL Rulebook
Rule 69 – Interference on the Goalkeeper
69.1 Interference on the Goalkeeper – This rule is based on the premise
that an attacking player’s position, whether inside or outside the
crease, should not, by itself, determine whether a goal should be
allowed or disallowed. In other words, goals scored while attacking
players are standing in the crease may, in appropriate circumstances
be allowed. Goals should be disallowed only if: (1) an attacking
player, either by his positioning or by contact, impairs the goalkeeper’s
ability to move freely within his crease or defend his goal; or (2) an
attacking player initiates intentional or deliberate contact with a
goalkeeper, inside or outside of his goal crease. Incidental contact
with a goalkeeper will be permitted, and resulting goals allowed, when
such contact is initiated outside of the goal crease, provided the
attacking player has made a reasonable effort to avoid such contact.
The rule will be enforced exclusively in accordance with the on-ice
judgement of the Referee(s), and not by means of video replay or
review.
So being in the crease has nothing to do with it, but contact with the goalie does.