Restore stylesheet loading fix

This was broken in commit 3fdb0ada80e3641eecee263a31f94940c0237327 when
we merged gh-1302