Add support for WindowButtonUpFcn callback in figures.