Strange Crash in Direct X init