Great horned owl captured after hitting a window and then released