Fix for incorrect handling of empty lines in FTSimpleLayout