Fixed hotpixel counting