draw powerline element only when segment is not empty