Fixed a delegate method being called by mistake