fixed onlayout lost selected position