Core/Misc: Fix a compile warning.

Properly fix #11229 since eacf961e7299afc0627e146d204d94baa1a09d80 changes didn't affect the original issue.
Core/Transports: Fix triggered assertion in Transports

Relocate only Players in world when updating transport's and its passengers' positions.
Thanks vlad852 .
Closes #11209 .