How to disable Mojave's floating thumbnail screenshot preview?
Press commandShift5 to bring up the Screenshot menu
Uncheck Options > Show Floating Thumbnail


This will prevent it from showing up.

This will also disable the ~5 second saving delay (screenshots will be saved immediately).