I think you are on to something:
Private Sub chat1_Click()
Public_autonumber = Me.autonumber1.Value
Public_requeststring = Me.comment1.caption
DoCmd.OpenForm "chatpanel"
DoCmd.Close acForm, "totaluserreqpanel"
DoCmd.Close acForm, "VM TOOL"
so the form I'm closing is Totaluserreqpanel, the form I'm opening is Chatpanel. But I have some code running on the closing of the Totaluserreqpanel as well, saying that VMtool, should open (if you close it normally). However, in this case, I just want totaluserreqpanel to close, and open the chatpanel. That's why I added that VMtool should be closed as well again). It does seem that this VMtool edge lines up perfectly with the problem you can see in the screenshot, so it has to be due to this.
But don't really see any other way of doing this, apart from creating a close button myself, and hiding the normal close button (at the right top of the screen) ...