It appears that we have a difference in touching edge sensing going on here...in the Flash player, the character sprite is touching the edge on the top row of the grid. It the Java player (and Scratch) it is not.