fix window limit min size bug