Add null check for effectsController

Fixes 12ead10c1bce3072ccda7e10cd5645fff2c10300

Change-Id: I45cf2db6968160d70595755060e0c728bad8c455
1 file changed