Issues with UI radar

For some reason this part of the code puts the UI dot outside the frame itself.
Code works by scanning workspace and looking for all parts named “RadarTarget” and then puts in the dot hopefully at same position.

Player Dot ui has anchor point of 0.5,0.5 aswell

So what do you want to tell? So can you tell me one by one?

So i was trying to make a radar UI that scans for all parts in workspace named “RadarTarget” and puts them into a frame with correct position. For some reason position is instead outside the frame, and I have no idea how to fix it