Fixes text-selection example