Fixed html indexes

Very good point, screenshot works fine, no errors for more than 70 cycles