Fix bugs of map.jsp and color picking