Fixed crash in 64bit when using RAW in plugins.