A1 seems to hit top of Z axis first thing after starting new print

Hello, I also have this problem with my A1 mini. Has anyone successfully solved the problem?
Does changing the printer gcode help? If so, what specific value should I change?