Fixed selection behaviour.