Bug: difference when viewed in the snap project page and when I edit and run it

A small program has a bug only when it is viewed as a project in the below link. But when you edit and run it, it works fine!

Is it a bug in my code or some other issue ? Your help is appreciated...
Thanks and Regards,

Yeah, the problem is that apparently when you run the project from the community site you aren't getting integer coordinates, so the conditions in the IF blocks (x position = 100, for example) are never satisfied. (@bromagosa) To fix it, change the conditions to, e.g., x position ≥ 100. (Right-click on an = block, choose "relabel," and then choose the ≥ option.)

Thank you...
It is working with the fix you suggested.
Best Regards,