Scoping the context before asking for the currentPreset.
Scoping the context before asking for the currentPreset.

Fixes #1121.

ImageEngine/gaffer,chippey/gaffer,ivanimanishi/gaffer,ImageEngine/gaffer,appleseedhq/gaffer,appleseedhq/gaffer,boberfly/gaffer,hradec/gaffer,appleseedhq/gaffer,andrewkaufman/gaffer,johnhaddon/gaffer,johnhaddon/gaffer,lucienfostier/gaffer,johnhaddon/gaffer,ivanimanishi/gaffer,lucienfostier/gaffer,andrewkaufman/gaffer,andrewkaufman/gaffer,goddardl/gaffer,cedriclaunay/gaffer,chippey/gaffer,goddardl/gaffer,ImageEngine/gaffer,boberfly/gaffer,GafferHQ/gaffer,GafferHQ/gaffer,chippey/gaffer,hradec/gaffer,ivanimanishi/gaffer,GafferHQ/gaffer,johnhaddon/gaffer,hradec/gaffer,GafferHQ/gaffer,goddardl/gaffer,johnhaddon/gaffer,lucienfostier/gaffer,cedriclaunay/gaffer,chippey/gaffer,andrewkaufman/gaffer,GafferHQ/gaffer,hradec/gaffer,cedriclaunay/gaffer,goddardl/gaffer,ImageEngine/gaffer,ivanimanishi/gaffer,cedriclaunay/gaffer,andrewkaufman/gaffer,lucienfostier/gaffer,appleseedhq/gaffer,boberfly/gaffer,boberfly/gaffer,hradec/gaffer