Fix build.
Correctly calculate window size.
Border isn't needed.