TextFieldTextRenderer: checks snapshot dimensions in refreshSnapshot instead of TextField dimensions because they could be out of sync and we need to avoid invalid bitmapdata sizes (closes #714)