Fixed a bug where a teleporting player teleports to a portal which is being destroyed at that very moment