Now only drags the window if cursor is on top of it. TODO: Do not drag if dragging begins outside any window boundaries