Added mouse focus setting to global context
Added keyboard focus setting to global context