Fix for module image resizing from setting var.