Use current settings object instead of the global one
CCBUG:414537
CCBUG:414537
mentioned in commit 345fb25b
·mentioned in commit 345fb25b
mentioned in commit b795aa90
·mentioned in commit b795aa90
mentioned in commit 7cf3550f
·mentioned in commit 7cf3550f