Fix problem with door and window horizontal snapping