Project crashes with EXCPETION_ACCESS_VIOLATION

@sonictke