Fixed bug with third video frame