fixed check for position or transform when spawning