Added frame skip detection