If your inverter keeps slipping out, take a small screwdriver, insert between the body of the plug and the small metal tabs that hold it in. There should be two of them. Simply pry it out--just a little. It will be tight and should solve your problem. Good luck!
Velcro strips would also work provided the inverter is not too heavy.