Attempt to fix EXE_BAD_ACCESS crash.