fixed frame skipping
fixed for missing frames