[TIMOB-17135] Fixed Ti.Media.PhotoGallery

Details in [Jira ticket](http://jira.appcelerator.org/browse/TIMOB-17135)