Error: Caption is misaligned when dragging and dropping

 
My application is built using the standard library, but when I move it to a different location, the caption's position becomes misaligned. How can I resolve this issue?