Edit area popup not showing all the way

Permalink
I have created a custom theme for c5, everything seems to be working fine, but when i go to edit the page and click on "add to main" a small popup box appears but it seems to be just the bottom right hand corner of the popup to edit the page.

I have read for a few hours and the z-index seems to not be the problem, as it is set to 1...

I am running out of ideas on what this could be? i added a picture to help with my problem.

1 Attachment