Intentions vs Actions
Not saying actions are irrelevant, but intention is important too. You didn't seek this out, it was an accident that you saw it. Therefore, not lust.
This accident did have an effect on you which you fought off. Sounds to me like you're fine. That's what grace is all about.