Fix extra space inserted by removeClass