In (20), the locative phrase in sentence-initial position is more closely related to asobu 'play' than omotta 'thought'.
omou 'think' does not normally support a locative of any type, while asobu 'play' supports a -de phrase.