Core/Transports: Fixed crashes happening when passenger is removed from transport during teleport

Closes #11067