Bugfix inside function.make_thumb.php.