Correct width percentage calculations