The problem was that in OneSignal > Settings > All Browsers (Except Safari)
Typical Site was chosen, after switching to Custom Code it started to work: