Calculation of filename drawing area fixed.