Improve order of rendered head elements to avoid blocking