Center application before showing