Essentially if you use draw_text_size outside of any callback or in ON.LOAD callback, it will return some garbage
this seams to be only PL issue as it loads the scripts as soon as the game starts (i think?)
could be also OL thing if you use the on start script loading, but i dint test it