[#84] Fixed issues with drawable rectangles.