Serena collides with net post but beats Osaka at Rogers Cup