The word in a locative case refers to the verb, for example, in "Sovitan housuja ikkunassa" the word "ikkunassa" "in the window" refers to the verb "sovitan" "I try on", not to the adjacent noun "housuja" "pants".