Is it the story where Brahma lied that he had seen the top of Lord Shiva(meaning measured the agni fully) while Vishnu told the truth that he could not find the depth.So, because of this curse, Brahma worshipped him? This is just my guess.