marker window bug fix