fix(ngShow): ensure that the display property is never set to block

Fixes #7707