Fixed bug with rendering share buttons