fix part of #4068 (wrong cursor for certain attack commands)