^^ i also referred to its datasheet before replying but i read it wrong... it was meant for output voltage (5 to 18 V).
now, i am clueless about your issue as i use 7805 every now and then with a 2A mobile charger. i have another circuit using 7805, running 24x7 for the last 5 months on a 12VDC 3A LED driver. 7805 supplies current based on the load, which in my case was always within the limits.