There is a stroke around the objects on the shadow background

Quite a strange bug with lighting, it appeared in version 5.3, and the strange thing is that on the right hook this stroke is not there