Fix window size and green/red label positioning