fix selection rect