Fixed some bugs in the Pong example.