Fixed bug in handling of marked stars in jpeg.