Fix black background in jpeg images