This is the right solution. Works 100%!
Simply change this parameter (EnableCSPHeaderForPage) from true to false using the script below.
Add-PSSnapin Microsoft.SharePoint.PowerShell
$farm = Get-SPFarm
$farm.EnableCSPHeaderForPage = $false
$farm.Update()