Using getFrameId() instead of recalculating indices.