If i disable content security policy in admin panel, then it works normally. But that would be security risk then.