Fixed a bug in image document loading, utilizing pagenation out of the image annotation module.