Components inherited from c++ does not position correctly when dragging the blueprint into the level

I created a sphere component in c++ and attached that to the root component. However when i drag the blueprint into the level, the sphere spawns at the centre of the scene, even if i move around the blueprint character. As soon as i stop dragging the blueprint and position it into the level, the sphere follows the blueprint if i move it. How can i fix the position of the sphere when dragging the blueprint into the level ?