IC not getting the same power input
Your load is drawing too much current (250mA) that the weak 9V battery can't provide. Battery voltage drops to about 7V and 7805 type of regulators need more than 7V to stay within normal operation. So as there is not enough voltage at regulator input, the regulator stops working properly.