Fix Nether Portal and End Platform creation.

Original code based on reo7sp commits.