Fixed bad img create call.