Changed window dimensions from point to integers