Fix #65

Stylesheet must be applied first for the fix made for pyQode/pyqode.core#147 to be applied