window: Add stubby double-click handling, to prevent them being treated as mousedowns