Take viewport size from test case. Closes #39