To reproduce: - Create new application with a richtextbox in it. - Build it and merge the assemblies. - Start the application type some text then select a part of it and try to do something else. - Note that this occur only the first time when the application is started.