Fixed bug caused by Content Security Policy