Don't get bogged down in what profits they do or do not make on the tickets (not that you are wrong). Whether or not they make good money on the tickets, market theory tells us they will sell the candy for as much as they can get away with :)
That's true. However, they can only get away with selling it at that price because all the theater chains are in substantially the same position vis-à-vis the studios.