env drawing fixes