Implemented flicking of sprite due to damage taken