Control + Q lets you skip levels if you want to test stuff. You shouldn't be able to win by moving a selected flag in the water because the flag should sink before that can happen, so there might indeed be a bug there. Thanks!
I originally thought that was how you won one of the levels (the level seemed impossible because I thought a box was a wall), but now it doesn't work. I assume the bug was fixed?