Check if we have a mouse before setting mouse=a.