Fixed uninitialized style ID on Windows