The lug location is only relevant to the sensor location and NOT where it is in relation to the engine if that makes sense.
Line up the crank lug until the falling edge is at the centre on the sensor. Then that will show you where the ECU thinks TDC is and you can check this by looking down a bore.
I think you will find that TDC will be correct then...
The engine behaviour does sound like over advanced ignition but could equally be a lean mixture/air leak/bad mapping/other fault..etc...
The engine will run with a atrue 30 degree advance at idle as during starting, the actual timing is ignored
However, 30 degrees may be used if the CR of the engine is very low !