Rather than dropping invalid frames, mark them as invalid and let the visulisation decide what to do with them.