Fixed portal placement bug