Fix for right margin bug with textInsets

Corrected textInsets right inset to be an inset from right margin rather than the left margin which is default.

Fixes #225.