Fixed webkitRequestAnimationFrame issue in dat.gui