Fixed a bug that caused by scrolling left or right in the workspace will trigger the forward and backward the browser history