Added mouse focus method