Fix bug with image fade option.