Fixed some errors with the designer