vda: fix crash when a frame is dropped.