If other indirect attack methods (such as fire/lava, ignited tnt, etc.) does not anger neutral mobs, this looks as a "work as intended" one.
So... the ghost blocks are only visible in the single play session, and the ghost blocks itself, and the changes made with them, are not recognized by the save, so upon "save and quit to title" the ghost blocks and resultant changes will be removed altogether. I see.
well i havent completely found out a way to fix it
i found a way around it
when u start up minecraft
open up ur task manager
from there u will see 2 minecraft launchers
close the one that takes less mbs and the game automatically works
well thats how it worked for me atleast
if it doesnt work oh well