Fixed chrome selection bug (fixes #2151)