Fix a bug in rect. Fixes the 'Hello World' text in example 01