Added that colors are checked every couple number of frames