Fix regionanchor, viewportanchor, and width to be able to accept fractional percentages

Issue #53.