Viewport must be int, apparently