fixed some bugs with game capture