Added openmali and rendered rectangles