Compute window size based on pixels available