Fixed event bug on image click for firefox & IE