replaced flag for game/tape mouse actions by bitmask