Patch for issue #9183. Made click_out windows generate depending on parent link classes