Trying to fix the issue of disabled effects after gaining focus