Fixed a crash when using a bound method as callback (wrong ref-counting)