on edit mode render with the right bg color