I was working on a project and it started acting odd when I was trying to center some objects. I realised the ViewportWidth expression was not giving the desired value. Using it aligned objects off-center. When I tried (ViewportLeft + ViewportRight), it worked perfectly (aligning objects to center). When I logged both values, they were different. I tried the same in a fresh Construct 3 project. There, they were both same. What could cause this behaviour? How do I fix this?
In fresh project: