Added new Rectangle implementation and fixed GameObject