Added fix for fImage when attempting to overwrite an existing image