Fix style being appended to head multiple times