Fix for bug that caused delayed function to stop being called

Bug described and investigated here: https://groups.google.com/forum/#!topic/craftyjs/8Pwl6qt46y8