Yes it should be something like that.
If you are comfortable with a solder iron, you could open the case and fix it. Otherwise try to use something you "slide" under the plug to prevent it from moving. You may also use an adhesive tape. But the better way is to use a solder iron.