Even setTimeout is going crazy. Hopefully this fixes it.