Fix bug in image chooser archive

After adding the "Empty image" image to the image archive the
calculation became off by one. This patch adjusts it.

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>