made rectangles optional in sprite:create