Fixes multiple inclusions of _global.scss when compiling.

When compiling the Sass files, you end up with code from _global.scss being included up to 47 times in the app.css file. This fixes #5863