Remove image.is_valid() check There is already a fail condition and image is not used before that Move up texture_is_valid() check
Remove image.is_valid() check There is already a fail condition and image is not used before that Move up texture_is_valid() check