Windows: Weird LimitSet bug