Update MediaAccess.php

fixed insert image bug in WordPress 3.6