properly handle even the smallest image sizes in lighttable view