Properly center share popup. Fixes #434