Fix Nether Portal and End Platform creation.

Based on commits made by reo7sp.