Minecart.cpp works as expected but derails when player is in cart