Fix crash on dismantling a vehicle completely

Fixes a bug that I introduced when rewriting the player_activity. It would crash when a vehicle has been completely dismantled because the vehicle window would open for a non-existing vehicle.