fixed passing animation functions to 'add()' not working

Passing animation functions by reference like `skycon.add(canvas, Skycons.RAIN)` was not working. This patch fixes it.