Problem still exists?
If so, maybe you can do a test...
Press your endstop with youre finger and click the x home button.
If your x axis starts homing then your endstop in marlin isnt correct.
You can choose between 'normal open' and 'normal closed' setting.
Maybe that's the problem.