modified mouse focus rules