Fixed bugs in string window properties handling.