Fix #482 

Caused by not passing the widgetIndex and x and y coordinates