A fix for the xbmc_image function stoping everything if for any reason a None object is passed in