image scaling fixed.