Fix prompt discoloring on window resize