Fixed an issue (#26) with non-standard camera viewports.