Specify post ID when using wp_enqueue_media() to set up correctly for the post being edited.
Merge pull request #1165 from benhuson/wp_enqueue_media

Specify post ID when using wp_enqueue_media() to set up correctly for the post being edited. Props @benhuson.