Workaround gtk spin button bug