WP 3.5 compatibility - image upload fix

fixed image upload behavior on repeatable fields