Change Pause Park Location

When you pause my printer it does not home in the right direction. I would like it to go to X max and Y min. I have not seen this in my Marlin 1.1 firmware anywhere. If I use repetier host and hit pause, it homes to my starting point and hits the end stops. In Astroprint it homes the wrong way and taps the side and throws it off 3 mm. Is there a way to change this either in astroprint or marlin firmware?