fix bug: do the window resizing only if the window size is different, or the canvas will be cleaned
fix the example autoBalls
remove example bouncingBalls