Fixed problems with frame sizes and starting off with different index