I was in creative mode while trying to place hostile mobs in my map with their spawn eggs. I right click on the tile I would like them placed, and a split second later, the mob quickly disappears. I switch over into survival to see if it was solely a problem in creative, but it appears to happen in survival, too.
i would suggest to use difficulty levels 1-3 and not 0 ;P (easy to hard not peacefull)
monsters cant spawn in peacefull i guess it works as intended