fixed display window of current cursor