Fix shaded selection bug.