some drawing fixes for empty selection