Added click detection. Widget coordinates are converted to Positions