Fix img trim

Should fix this: https://next.getflow.com/workspaces/1/tasks/5618405

but also fixes some emoji stuff.