fix invisible when spawning outside of frame