Fix table element order drawing following the spec
Fix source selector generator not ending with stylesheets using bad mimetype