Fixed size of documentation popup

Closes #1341