Restore stylesheet loading fix

This was broken in commit 3fdb0ada80e3641eecee263a31f94940c0237327 when
we merged gh-1302
Merge pull request #1436 from aadsm/fix-drawtree-merge

Restore stylesheet loading fix