Added MouseClick support to the input class