Bugfix: Fix image in sample size compute bug.