Fix for small image sizes