Added redrawing to game loop in Pygame implementation.