Tidypics bug on Elgg 1.7.1 ...?

I have Elgg 1.7.1 installed both on my WAMP and on my webservers. I have noticed that Tidypics works fine with Elgg 1.6.1 css, a bug is seen on the newer version.

I have attached a screenshot with this thread. See, the images keep appearing on one after another, insted of side-by-side whenever more than 3 pics are displayed. And, this is just not in case of the profile widgets, putting tidypics on new_index.php behaves in the same manner as well.

 

Could anyone please suggest me how to fix this issue ...!

 

image