Hi @MilanCZ91
For chrome you will need to install chrome extension "Target VEC helper" which will inject target libraries. If you already have it, please go to Page delivery under setting menu and switch off "Enable enhanced composer". After this it should work.
Usually, I don't see any issues with Firefox, however you can try turning on/off "Enable enhanced composer"