Leafletproxy encountered before render leaflet in shiny



I have a shiny application which has two leaflet maps in two separate tabs. The second tab does not render the leaflet until the second tab is selected. On initialization the first tab is displayed - and when a mouseclick is detected leaflet proxy for both the first and second tab is executed. This is not updating the leaflet in the second tab. So the question is what happens when leaflet proxy is encountered PRIOR to the leaflet being rendered? I was hoping to force the second tab leaflet to generate by calling the leaflet proxy for the second tab but it is not working. No error is generated.