Added enum name to window flag
Fix graphical bug when drawing inline sprites caused by using strlen instead of get_string_length