Solved img loading problem on firefox