Fix broken build due to typo in CreateImage func