Ok, the problem is gone and the loss is decreasing fine. Maybe on the very first run after your suggestion I mistakenly executed the old script, I don’t know.
Anyway on the subsequent runs I never faced the problem anymore, thank you!