It's the character that is flawed, when you see someone dressed like that then instead of denying your urges of doing something you shouldn't have those urges to begin with, try to have a cleaner mind. That's what's really wrong with the current human society, everyone just does anything with a 'why not?' until it blows up in their face; instead of evaluating themselves and their own character. And a lot of time when people use 'it's not illegal'; or more precisely 'I don't see what's wrong with it'- its an excuse to the acts which are otherwise sure to bring them trouble.
We need non-arrogant, kind, patient, understanding and 'good' people; otherwise these kinda problems are 'one-after-another' going to keep appearing, Law doesn't enforce those qualities- nothing from outside can, neither can they be 'enforced'. So what then motivates people to be kind and compassionate willingly from within their hearts?- You think on that.