Made some changes in the object click packet handler.