fix login window location and background auto rize