allow integer screen sizes, fixes #14