hack for frame drop detection