Fixed missing widget template bug