[Bug 31965] mouse capture/behavior wrong