Fix issues with #dashOffset when emulating native dashes.

Closes #303.