Add fixes for refreshScale

The amino acid positions weren't being calculated properly for
a scale refresh. To do it properly, we need to propagate the
amino acid index, accession and the layer that the data was
rendered upon.