Fix viewport.setQuery() when grey -> color