Improved click detecting system od UIElement abstract class