fixed weird flashing images at first trial