Fix Shadow Fonts

The function canvas.textrect was causing the problem with the shadow
fonts. It seems that every time  the function was called a field that had
a text was overwritten by the same text. The solution to our problem was
to delete the calls to canvas.textrect.