The joke is a pun I think? Glue is used to stick objects together.  The phrase 'stick to it' typically means to keep trying at something to get the job done successfully.
Glue inventors have to stick to it .