Fix double window