It seems that my links were not added correctly here in my post, I will resubmit them below:
How delayed scripts normally look: https://prnt.sc/Tyf6VD5ikzgI
How they were in version 10.0.1.1: https://prnt.sc/ROUZqZQjdmCz
Somehow the plugin was preventing Wp Rocket from adding the type=”rocketlazyloadscript” attribute to the javascript codes.
The problem was solved by reverting the PixelYourSite plugin to version 10.0.0 and now it has also been solved in version 10.0.1.2.