Core/Packets: Fixed some issues.