Set correct object_id to be used later on cmb_show_on filter

This fixes a bug were the post meta doesn't save when using page-template on show_on filter. This happens when the post id hasn't been saved into object_id since WordPress hasn't set the global post object yet.