[Bug 50449] Program freezes if both keyboard and mouse is used at the same time