Fixed the bug with multiple (numerous) minimal intensity pixels in a frame