Creating 2 rectangles for user interface and tool interface