Prevent raising Z-axis after homing
Just solved my own problem. Instead of looking in Marlin for the command, I found out the reason it was lifting up quickly was because of a custom command embedded in the G-code by the slicer. I got rid of the command and the problem was solved.