fixed maximum image select bug