If this occurs during the self-treatment, the reason is the animation of the player.
Please correct the animation at medical self-treatment!
During this animation the head of the player moves to the right and also ahead. For this reason, player always has a chance to get vision inside different objects.
Two variant to fix this:
1. To change the animations of the player.(reduce head movement)
2. Do not allow the player to approach close to the walls.(increase the minimum distance)