added some fixes
selected row must not be draw if its overlapping the header area