fix the crash issues by changing the type of iMbWidth & iMbHeight.