Fixing issue with reset not resetting className for frames