Fix image edge issue