Added 'text-align' to primary styles

The text-align property of the simulated textarea can be different than that of the textarea that is being simulated. This can cause the calculated caret position to be off by a significant degree. Adding text-align to the primary styles makes sure that the property is the same on both and fixes the issue.