CPP : Change coordinate from int to double for better placement with movable object