I've been having the same issue and have a fairly bare-bones example that may prove to be useful.
[EDIT] Upon further inspection, there were a few things going wrong in my example. I'll re-post when I have something legitimate. (That's what I get for posting after a long day at work
)-Phil