Resize image to resolve video flicker issue