I decided to delete all of my iPhone's photos and videos so I copied everything to iPhoto and deleted everything on my phone. After that, I decided to backup my phone through iTunes. Then I reinstalled iOS 7.1 through iTunes (via ipsw and Restore phone). After a few minutes, I was able to restore everything. The phone is much faster than before. The only problem is, the Photo Library still consumes space.