small fix selection rect