UPDATE: With help, I was able to tracked down the issue. It was the if(!actions) that was doing something to the function reference. Once I remove the '!', it worked. It was a bug on my part as I wanted to check if it has a reference in the first place. My new question is what did that ! operator do to the function that would cause it to evaluate to true and then alter the reference that it cause the function to fail (in this case no errors in the debugger was detected)?: With help, I was able to tracked down t