Fixed image javaArray problem