Why does this black outline appear on the corners?

Why does this black outline appear on the corners?