Touch Controls Disable When Close to Enemy

I have a game where when the AI sees you, it runs at you to attack you. When you click the screen you fire at them to kill them. It seems that when the enemy gets right up against my character, it disables the touch joystick controls and only lets me fire at them. Has anyone else run into this issue? or does anyone have any suggestions?