Crashed mini 1, but not sure why

Here is the flight log. As you can see it was a short one. I flew it out in front of me and rotated it for a picture. It then just took off in to the side of a building and I couldn’t correct fast enough. Was this user error or a malfunction. The only thing I can think of is that I launched before it had a good satellite lock. Thanks!