fix offset on click events
compat for all gtk3 versions