Add simplistic line wrapping for canvas