I did solve the problem, but why it was happening, I never found out. System was clean and not infected in any way, but it was something to do with pop-ups and the way they were working. After installing a pop-up blocker uBlock Origin, I never had the problem again. However if I turn it off, the same problem returnes. Hope this helps.