Fix UIProgramming redsquare to framesize - now working correctly