Fixed threading issue now that animations are actually in a different thread