Added title option to styled rectangle.