Fix tile loading on Windows