Make sure stylesheets are loaded before drawing