fix the broken editor

not all sprites have image offsets