Fixed wrong error message when loading text overlay