Fix ugly seems between backgroung images

The seems were introduced by careless refactoring, removing sorting of
background images.
Merge pull request #32 from nirs/bg-fix

Fix ugly seems between backgroung images