Fixed bug with MRI loading.