Fixes sharing buttons and some other stuff.