It seems that SetSpriteScale gives a different effect depending on whether you have used it before or after the SetSpriteShape command with parameter 1 (circle).
It's about the scale of the collision shape, not sprite. The problem concerns only Circle shape. In the case of Box or Polygon, the order of commands does not affect the result.
Below is a simple example to reproduce this behaviour. Swap the order of Scale and Shape commands and you will get a different size of the collision shape.
(tested on AppGameKit Build 2018.05.02)
global spr as integer
SetWindowSize(800,600,0)
SetVirtualResolution(800,600)
SetPhysicsDebugOn()
spr=CreateSprite(0)
SetSpriteColor(spr,128,128,128,255)
SetSpritePosition(spr,100,100)
SetSpriteSize(spr,400,400)
// here the order matters
SetSpriteScale(spr, 0.5, 0.5)
SetSpriteShape(spr, 1)
repeat
Sync()
until GetRawKeyPressed(27)