Fix entity max health teleportation issues