changed mouse click along with spacebar