fix bug that we cannot hold mouse buttons