Fix wrong position if no text is assigned
If previously the text was empty, the bounding rect is zero therefore the alignment did not work properly. If thext is added, the bounding rectangle is updated and then the position must be changed to consider alignment
fixes #51 (closed)