Objects change their location in simulation mode

Hi, guys!

In viewport i put objects close to each other, but when i start the simulation, they change their location.

First screenshot - location of the door in editing mode. The second one is about the simulation mode.

What can be the reason of it?

The reason was that the propreties of camera were perspective. When I changed to orthograghic everything begin to work normally