created c_border_fix to fix borders's ui object to his parent