Ah it appears I may have solved it! I pasted it via the File Manager through my hosting admin panel instead of the header.php file through the WP Admin area and it seems to be stable now! Fingers crossed. Will mark as solved as soon as I finish some other testing.