And how can i remove this issue?
It turns out that this is not a bug?
Before it wasn't so. Previously it was possible to look through the eyes of a spider or creeper.
Mobs disappear, but after the change game mode does not appear again.
It was intended so that mobs are removed and do not appear? Even after exiting the mode.
macOS 10.13.4 on iMac 21.5” late 2012.
Happens on all minecraft versions.
Same happens even on bootcamp Windows 10.
And also happens on win10 i3-3220, gtx650, 8gb ddr3.
Looks like this bug is critical.