fixed high-fps in windows when using frameshare