Some bugs fixed when inserting presentations. This feature still has some wrong behaviours.