Fixed to use pre-existing local var
For IOS-62, added option to enable blur effect.