Changed colour of rect on left mouse click.