Fixed how the active frame updates