Correct percentage to pixels