Fixed usage of custom Component with ServerServlet (issue #926). Reported by Graham Smith.