Fixed a bug that caused the interaction button to become invalid after interacting with the bar.