There is really no need to use jQuery for this. And, no, this is not a bug in jQuery. The problem is use of
position: absolute instead of
position: fixed, which is what you want.
I'd ditch the jQuery snippet, and simply style your footer using CSS: