Trigger window resizing with right mouse button