Fixed some bugs in DisplayImageServlet