Fix packet loss plotting