Fixed edge detection preview on mac