Fix image problem in JAR.