fix the frame shadow on the PhotoWidget