Not a code issue. I have a dual monitor system. The only program with this problem is RStudio. When I try to mouse-drag it to monitor two , the first time it bounces right back to monitor one. It doesn't matter which monitor is one or two. After the bounce-back, I can move it fine, in either direction. But start a new session, and it has this strange behavior.