fix to fix window and icon coord save

fix to fix window and icon coord save