Fix some image conversion and font issues

Use the correct size when generating an image for a drag operation.
Use invariant culture when parsing font size. This value is
usually provided by the programmer, not the user, so it makes sense
to use invariant here.
Fix text layout initialization issue.